package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class DemoApplication {

  public static ConfigurableApplicationContext context; // 手动注入对象要用的值

  public static void main(String[] args) {
    context = SpringApplication.run(DemoApplication.class, args);
  }
}
